package top.chenfu.cloud.item.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.chenfu.cloud.item.dao.ItemMapper;
import top.chenfu.cloud.item.domain.Item;

import java.util.List;

/**
 * @Auther chenfu
 * @2019/12/14 12:35
 * @Desc
 */
@Service
public class ItemService {

    @Autowired
    private ItemMapper itemMapper;

    public Object findItems() {
        List<Item> items = itemMapper.findAll();
        return items;
    }

}
